#include "AnimationSystem.h"

AnimationSystem::AnimationSystem(void)
{

}


AnimationSystem::~AnimationSystem(void)
{

}

AnimationSystem* AnimationSystem::GetInstance()
{
	static AnimationSystem instance;

	return &instance;
}

void AnimationSystem::Shutdown()
{
	std::vector<Animation*>::iterator iter;

	for(iter = animationArray.begin(); iter != animationArray.end(); ++iter)
	{
		delete (*iter);
	}

	animationArray.clear();
}